//
//  MWApiConstant.h
//  XiRan-iOS
//
//  Created by Richfit on 2019/10/10.
//  Copyright © 2019 Wood. All rights reserved.
//

#ifndef MWApiConstant_h
#define MWApiConstant_h

//#define kBaseUr                    @"https://XiRan-back.bigchun.com"
//#define kBaseUr                    @"https://mywood-back.bigchun.com"
//#define kBaseUr                    @"https://www.seeland-wood.com"
//#define kBaseUr                     @"https://d-chengshilieren.bigchun.com"
#define kBaseUr         @"https://lieren.woodwoodslab.com"
#pragma mark - 国际化配置常量
#define kLocalizableConfigUrl      [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/apptran"]

#pragma mark - 验证码
#define kSmsCodeUrl                [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/sms/send"]
#define kEmailCodeUrl              [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/ems/send"]

#pragma mark - 上传图片
#define kUploadUrl                 [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/common/upload"]

#pragma mark - 国家码
#define kCountryCodeUrl            [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/code"]

#pragma mark - 新版本检查
#define kCheckVersionUrl           [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/version"]

#pragma mark - 用户
#define kLoginUrl                  [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/login"]
#define kLogoutUrl                 [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/logout"]
#define kPhoneLoginUrl             [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/mobilelogin"]
#define kVsitorLoginUrl            [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/tourist/login"]
#define kWXLoginUrl                [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/wechatlogin"]
#define kFacebookLoginUrl          [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/fackbooklogin"]
#define kImprovedInfoUrl           [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/perfect_info"]
#define kRegisterUrl               [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/register"]
#define kRegisterEmailUrl          [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/email_register"]
#define kResetPasswordUrl          [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/resetpwd"]


#define kConfigUrl                 [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/my_config"]
#define kFormulaUrl                [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/formula"]

#pragma mark - 热门
#define kSearchUrl                 [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/serach_field"]
#define kHotSearchUrl              [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/hot_product"]

#define Gallery_search_url         [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/gallery_search"]

#pragma mark - 首页
#define kHomeBannerUrl             [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/index_banner"]
#define kHomeGoodsUrl              [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/selected_list"]

#define kLogUrl                    [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/common/app"]

#define kHomeAboutUrl              [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/home_about"]


#pragma mark - 展厅
#define kShowroomListUrl           [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/exhibition"]
#define kShowroomDetailsUrl        [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/gallery_detail"]
#define kShowroomGoodsUrl          [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/gallery_product"]

#pragma mark - 商品
#define kFilterUrl                 [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/search_condition"]
#define kGoodsFilterUrl            [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/title_condition"]
#define kGoodsListUrl              [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/product_list"]
#define kGoodsDetailsUrl           [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/product_detail"]
#define kGoodsCollectUrl           [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/product_collection"]
#define kGoodsPhoneUrl           [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/product_mobile"]

#pragma mark - 应用
#define kApplicationUrl            [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/scene"]

#pragma mark - 树种
#define kTreeSeedListUrl           [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/species"]
#define kTreeSeedDetailsUrl        [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/species_detail"]

#pragma mark - 我的
#define kMineShowPriceUrl          [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/is_show_money"]
#define kMineCollectionUrl         [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/index/collection_list"]
#define kLanguageSwitchUrl         [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/changelanguage"]
#define kUserInfoUrl               [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/my_info"]
#define kModifyNicknameUrl         [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/profile"]
#define kModifyPhoneUrl            [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/changemobile"]
#define kModifyEmailUrl            [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/changeemail"]
#define kModifyAvatarUrl           [NSString stringWithFormat:@"%@%@", kBaseUr, @"/api/user/change_avatar"]

#endif /* MWApiConstant_h */
